Newlines in database converted to HTML break for presentation
Jamroom Developers
First was comments in a textarea...
(da da da insert music here). Then came TinyMCE....
So jamroom was setup to store the comments as they were formatted coming from the textarea, then in order to turn that into HTML that looks the same as it was formatted in the textarea nl2br() is added to the output.
So put a texteditor in place of a textarea and you end up needing to know which was used ( not which is active NOW ) to enter the text.
The answer to your question is:
which: nl2br()
who: jamroom
--edit--
The solution if its causing a problem for you is to exclude NL2BR from the string formatters.
eg: for blog's item_detail.tpl the blog text will be output like this:
{$item.blog_text|jrCore_format_string:$item.profile_quota_id}
The solution is to add 'nl2br' to the EXCLUDE list
{$item.blog_text|jrCore_format_string:$item.profile_quota_id:null:nl2br}
Then the BR won't be output.
updated by @michael: 07/19/18 11:09:43PM